# ***meta charset="UTF-8"***
# @Time: 2021/2/5 1:08
# @Author: 邢光强
# @Email： 1062584918@qq.com
# @File： run_xgq.py
# @Project: project

import unittest
from HTMLTestReportCN import HTMLTestRunner
import time
suites=unittest.defaultTestLoader.discover("../cases","test_xgq*.py")

now=time.strftime("%Y-%m-%d %H-%M-%S")
report_name="../report/crm_report_{}.html".format(now)
f=open(report_name,"wb")
runner=HTMLTestRunner(stream=f,title="测试报告",description="邢光强测试报告")
runner.run(suites)
